home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Demos
/
ByCompany
/
ActiveIngredients
/
communicae
/
communicae.app
/
DemoFiles
/
tn3270.cae
< prev
next >
Wrap
Text File
|
1993-09-21
|
3KB
|
121 lines
#! communicae
# This file makes using the Unix "tn3270" front end to an IBM System 370
# mainframe a little bit easier. It was intended for use via TCP/IP,
# with a vanilla copy of TN3270, which convert 3270 to VT100 escape
# sequences, but has not been specially programmed to recognize all the
# VT100 keys. The problem people get hung up on is that for some reason
# whoever did tn3270 did not use the same keyboard setup that the Yale ASCII
# system uses. Therefore, people have accepted the control characters
# as the standard way to do business with TN3270, and we must use them too.
# This setup file also adds a visual keypad with the first 12 PF keys,
# and makes Delete simulate a single backspace, while shift+delete does
# a delete-char. Command+top-row-numbers also simulate PF keys, as do
# the F-keys on a PC keyboard. If you hold down the Shift key, you'll get
# PF13-PF24 instead. The keypad Enter key does a clear screen, and the
# arrows do TN3270 ^H/J/K/L instead of the normal VT arrow sequences.
clearall
pty = 1
title = "IBM 3270 Emulator (tn3270)"
login = "tn3270^M%w'>'open %?\"Enter Host Name:\"^M"
logout = "^C%300pquit^M%w'^J'%300pexit"
sendxoff = no
receivexoff = no
bskey
GRset = 2
tabwidth = 8
ginterminator = 1
font = "Courier"
fontsize = 12
leading = 3
rows = 24
columns = 80
sizelock = 3
winx = 284
winy = 162
keycols = 3
keyx = 16
keyy = 78
scrollback = 2
tranProtocol = 1
recvProtocol = 1
droptype = 2
f3 = "^K" # Up
f4 = "^J" # Down
f5 = "^L" # Right
f6 = "^H" # Left
f7 = "^I%|^B" # Tab
f58 = "^H ^H%|^D%|^E" # Delete
f59 = "^Z%|^M" # Enter
# PC F-keys are bound to visual keypad items (which are PF key equivalents)
f77 = "%257f" # F1
f78 = "%259f" # F2
f79 = "%261f" # F3
f80 = "%263f" # F4
f81 = "%265f" # F5
f82 = "%267f" # F6
f83 = "%269f" # F7
f84 = "%271f" # F8
f85 = "%273f" # F9
f86 = "%275f" # F10
f87 = "%277f" # F11
f88 = "%279f" # F12
# Command+Numbers and Command+Shift+Numbers are bound to same keypad items
f161 = "%257f" # Cmd+!
f163 = "%261f" # Cmd+#
f164 = "%263f" # Cmd+$
f165 = "%265f" # Cmd+%
f166 = "%269f" # Cmd+&
f168 = "%273f" # Cmd+(
f169 = "%275f" # Cmd+)
f170 = "%271f" # Cmd+*
f171 = "%279f" # Cmd++
f173 = "%277f" # Cmd+-
f176 = "%275f" # Cmd+0
f177 = "%257f" # Cmd+1
f178 = "%259f" # Cmd+2
f179 = "%261f" # Cmd+3
f180 = "%263f" # Cmd+4
f181 = "%265f" # Cmd+5
f182 = "%267f" # Cmd+6
f183 = "%269f" # Cmd+7
f184 = "%271f" # Cmd+8
f185 = "%273f" # Cmd+9
f189 = "%279f" # Cmd+=
f192 = "%259f" # Cmd+@
f222 = "%267f" # Cmd+^
f223 = "%277f" # Cmd+_
# Note keypad items have base, shifted, command, & command-shifted states.
# This allows them to handle all keyboard keys which are directed to them.
L0 = " PF1 "
K0 = "^[1%|^F13%8|^[1%|^F13"
L1 = " PF2 "
K1 = "^[2%|^F14%8|^[2%|^F14"
L2 = " PF3 "
K2 = "^[3%|^F15%8|^[3%|^F15"
L3 = " PF4"
K3 = "^[4%|^F16%8|^[4%|^F16"
L4 = " PF5"
K4 = "^[5%|^F17%8|^[5%|^F17"
L5 = " PF6"
K5 = "^[6%|^F18%8|^[6%|^F18"
L6 = " PF7"
K6 = "^[7%|^F19%8|^[7%|^F19"
L7 = " PF8"
K7 = "^[8%|^F20%8|^[8%|^F20"
L8 = " PF9"
K8 = "^[9%|^F21%8|^[9%|^F21"
L9 = " PF10"
K9 = "^[0%|^F22%8|^[0%|^F22"
L10 = " PF11"
K10 = "^[-%|^F23%8|^[-%|^F23"
L11 = " PF12"
K11 = "^[=%|^F24%8|^[=%|^F24"
L12 = " PA1"
K12 = "^P1"
L13 = " PA2"
K13 = "^P2"
L14 = " Clear"
K14 = "^Z"